package xyz.jcat.biz.admin.domain.po;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Getter;
import lombok.Setter;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.util.Date;

/**
 *
 * @author yueyue
 * auto on 2022-04-28 20:12:37
 */
@Getter
@Setter
@TableName("`sys_user`")
public class UserPo {

    @TableId(type = IdType.ASSIGN_ID)
    private Long id;
    /** 登录用户名 */
    private String username;
    /** 邮箱 */
    private String email;
    /** 手机号 */
    private String phone;
    /** 姓名 */
    private String name;
    /** 密码 */
    private String password;
    /** 性别 */
    private Boolean gender;
    /** 创建时间 */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
    @TableField(fill = FieldFill.INSERT)
    private Long creator;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updater;

}
